import {service} from "@/api/service";

export default ({ service, request, requestNoToken, faker, tools }) => ({// 验证用户手机号码
  USER_SEARCH_MOBILE (data) {
    // 接口请求
    return request({
      url: 'user/searchMobile',
      method: 'post',
      data
    })
  },
  // 登录
  SYS_USER_LOGIN (data) {
    // 接口请求// url: 'user/saveLogin',
    return requestNoToken({
      url: 'login',
      method: 'post',
      data
    })
  }
})
